package io.renren.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 财务记录表
 *
 * @author 翟文闯 619556390@QQ.com
 * @since 1.0.0 2019-12-04
 */
@Data
@ApiModel(value = "财务记录表")
public class FinanceDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "财务记录表")
	private Long financeId;

	@ApiModelProperty(value = "操作人")
	private String operator;

	@ApiModelProperty(value = "操作时间")
	private String operatorTime;

	@ApiModelProperty(value = "应付金额")
	private Float amountPayable;

	@ApiModelProperty(value = "实付金额")
	private Float actualAmountPaid;

	@ApiModelProperty(value = "支付状态0待支付 1已支付")
	private Integer isPayment =0;

	@ApiModelProperty(value = "供应商id")
	private Long supplierId;
	@ApiModelProperty(value = "供应商名称")
	private String supplierName;

	@ApiModelProperty(value = "订单id")
	private Long orderid;

	@ApiModelProperty(value = "食堂id：1新食堂，2老食堂")
	private String canteenId;
	@ApiModelProperty(value = "类型：1食材，2辅材，3小食堂")
	private String type;

	@ApiModelProperty(value = "总订单")
	private int totalNum;
	@ApiModelProperty(value = "已支付订单")
	private int ytotalNum;
	@ApiModelProperty(value = "未支付订单")
	private int ntotalNum;
	@ApiModelProperty(value = "供应商订单条数")
	private int orderNum;
	@ApiModelProperty(value = "创建时间")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date createDate;

	@ApiModelProperty(value = "食堂主厨id")
	private Long chedId;
	@ApiModelProperty(value = "食堂主厨名称")
	private String  chedName;

	@ApiModelProperty(value = "食堂管理员审核id")
	private Long canteenAdminId;
	@ApiModelProperty(value = "审核时间")
	private Date auditTime;
	@ApiModelProperty(value = "食堂管理员审核名称")
	private String  canteenAdminName;

	@ApiModelProperty(value = "开始时间")
	private String bgeinDate;
	@ApiModelProperty(value = "结束时间")
	private String endDate;
	@ApiModelProperty(value = "包厢号")
	private String boxId;
	@ApiModelProperty(value = "食堂进货清单")
	private String deptName;
	@ApiModelProperty(value = "清单名称")
	private String batchOrderName;
}